package com.lipaluma.examples.annotation.customer;

import com.lipaluma.annotations.adaptors.standard.Trim;
import com.lipaluma.annotations.mapping.MapColumn;
import com.lipaluma.annotations.mapping.NotMapped;

public class Address {
	@NotMapped
	private int number;

	@Trim
	@MapColumn(columnName="ADDRESS")
	private String street;

	@MapColumn(columnName="ZIP")
	private String zip;

	@Trim
	@MapColumn(columnName="CITY")
	private String city;
	
	public int getNumber() {
		return number;
	}
	public String getStreet() {
		return street;
	}
	public String getZip() {
		return zip;
	}
	public String getCity() {
		return city;
	}
	
}
